/*
 * DictionaryService.h
 *
 *  Created on: May 1, 2017
 *      Author: zhangjf
 */

#ifndef SRC_GLOBAL_DICTIONARYSERVICE_H_
#define SRC_GLOBAL_DICTIONARYSERVICE_H_

namespace global
{

class DictionaryService
{
public:
	DictionaryService();
	virtual ~DictionaryService();

	static DictionaryService& instance()
	{
		static DictionaryService* _instance = nullptr;
		if (_instance == nullptr)
		{
			_instance = new DictionaryService();
		}

		return *_instance;
	}

	void initialize();
};

} /* namespace global */

#endif /* SRC_GLOBAL_DICTIONARYSERVICE_H_ */
